﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using iLangl.Model;
using iLangl.BusinessModel.Managers;

namespace iLangl.Tests.InitialDataFixture
{
	[TestClass]
	public class ProductRegistrationTest
	{
		[TestMethod]
		public void ProductRegistration()
		{
			List<TPProduct> products = new List<TPProduct>();

			TPProduct prod1 = new TPProduct();
			prod1.Id = "27A2AAD0-FA95-4494-BAB6-0EAC3FEC4887";
			prod1.Name = "Direct Translation";
			prod1.TpId = TestSettings.LanguageWireCompanyId;
			prod1.TPProductId = "1";
			prod1.TPProductName = "Direct Translation";
			prod1.Description = "Direct Translation";


			products.Add(prod1);

			TPProduct prod2 = new TPProduct();
			prod2.Id = "2A3535B2-7001-43DD-951B-8B4F4BD2C7FA";
			prod2.Name = "Full Service";
			prod2.TpId = TestSettings.LanguageWireCompanyId;
			prod2.TPProductId = "2";
			prod2.TPProductName = "Full Service";
			prod2.Description = "Full Service";
			products.Add(prod1);


			ProductManager.Instance.RegisterTPProducts(products);
		}
	}
}
